package com.example.liveplayer.MediaView;

import android.content.Context;

/**
 * Date:2022/9/11
 * Time:11:01
 * author:wushengqi
 */
class WindowUtils {
    public static int getScreenWidth(Context context){
        int width = context.getResources().getDisplayMetrics().widthPixels;
        return width;
    }

    public static int getScreenHeight(Context context){
        int height = context.getResources().getDisplayMetrics().heightPixels;
        return height;
    }
}
